*{
    margin: 0;
    padding: 0;
    /* css3模型 */
    box-sizing: border-box;
    font-size: 12px;
}
a{
    text-decoration: none;
    color: #666666;
}
ul li { 
    list-style: none ;
}
/* 声明字体图标 这里一定要注意路径的变化 */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?tomleg') format('truetype'),
      url('../fonts/icomoon.woff?tomleg') format('woff'),
      url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
/* 版心设置 */
.w{
    width: 1200px;
    margin: 0 auto;
}
/* 快捷导航模式 */
.fl{
    float: left;
}
.fr{
    float: right;
}
.fl ul li{
    float: left;
    list-style: none;
}
.fl ul li a{
    text-decoration: none;
    color: #c81623;
}
.shortcut{
    height: 31px;
    background-color: #f1f1f1;
    /* 使文字垂直居中 */
    line-height: 31px; 
}
.shortcut .fr ul li{
     float: left;
     list-style: none;
}
/* even 偶数 */
.shortcut .fr ul li:nth-child(even){
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}
.arrow-icon::after{
    content: '\e91e';
    font-family: 'icomoon';
}
/* 头部制作 */
.header{
    height: 105px;
    position: relative;
}
/* logo做法 */
.header .logo{
    width: 171px;
    height: 61px;
    position: absolute;
    top: 25px;
    left: 0;
}
.logo a{
    display: block;
    width: 171px;
    height: 61px;
    /* font-size: 0;京东的做法 */
    /* 淘宝做法 */
    text-indent: -9999px;
    overflow: hidden;
    background: url(../images/logo.png) no-repeat;
}
/* 搜索框模块 */
.search{
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
    position: absolute;
    top: 25px;
    left: 346px;
}
.search input{
    float: left;
    border: 0;
    outline: none;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}
.search button{
    border: 0;
    outline: none;
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    color: #ecd3d3;
}
.hotwords{
    font-size: 12px;
    position: absolute; /*根据header定位*/
    top: 66px;
    left: 346px;
}
.hotwords a{
    margin: 0 10px;
}
.style_red{
    color: #c81623;
}
.shopcar{
    position: absolute; /*以版心定位*/
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    top: 25px;
    right: 60px; 
}
.shopcar::before{
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}
.shopcar::after{
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}
.count{
    position: absolute;
    top: -5px; /*子绝父绝定位*/
    right: 20px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    background-color: #e60012;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}
.nav{
    height: 47px;
    border-bottom: 2px solid #b1191a;
}
.nav .dropdown{
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}
.nav .navitems{
    float: left;
}
.navitems ul li{
    float: left;
}
.navitems ul li a{
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
    }
.navitems ul li a:hover{
    color: #c81623;
}
.dropdown .dt{
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 45px;
    color: #faf4f4;
    font-size: 16px;
}
.dropdown .dd{
    /* display: none;  */
    height: 465px;
    width: 210px;
    margin-top: 2px;
    background-color: #b1191a;
}
.dropdown .dd ul li{
    position: relative;
    height: 31px;
    line-height: 31px;
    /* margin-left: -40px; */
    /* padding-left: -30px; */
    padding-left: 5px;
}
.dropdown .dd ul li:hover{
    background-color: #fff;
}
.dropdown .dd ul li a{
    font-size: 14px;
    color: #fff;
}
.dropdown .dd ul li:hover a{
    color: #c81623;
}
.dropdown .dd ul li::after{
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    content: '\e920';
    font-family: 'icomoon';

}
/* 底部模块制作 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}
.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}
.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    padding-left: 35px;
}
.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -252px -2px;
    margin-right: 8px;
}
.service_txt h4 {
    font-size: 14px;
}
.service_txt  p {
    font-size: 12px;
}
.mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}
.mod_help dl {
    float: left;
    width: 200px;
}
.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}
.mod_help dl dt {
    font-size: 16px; 
    margin-bottom: 8px;
}
.mod_copyright {
    text-align: center;
    padding-top: 5px;
}
.links {
    margin-bottom: 15px;
}
.links a {
    margin: 0 3px;
}
.copyright {
    text-align: center;
    line-height: 20px;
    margin-top: 5px;
}
